package com.cykj.user.mapper;

/**
 * @BelongsProject: Cykj-Order-System
 * @BelongsPackage: com.cykj.user.mapper
 * @Author: cwx
 * @CreateTime: 2025/8/30 18:53
 * @Description:
 * @Version: 1.0
 */
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cykj.system.api.domain.ShopCategory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
@Mapper
public interface ShopCategoryMapper extends BaseMapper<ShopCategory> {
    // 根据ID查询类目名称
    @Select("SELECT name FROM bs_shop_category WHERE id = #{id}")
    String selectCategoryNameById(Integer id);
}
